﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="CRM.Web.MachineConfigManage.List" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="<%= base.ResourcesPath + "Style/main.css" %>" rel="stylesheet" type="text/css" />
    <link href="<%= base.ResourcesPath + "Style/button.css" %>" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/jquery-1.6.2.min.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/My97DatePicker/WdatePicker.js"  defer="defer" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/MaskTextBox.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/button.js"></script>
</head>
<body>
    <form id="form1" runat="server" defaultbutton="btnSearch" >
<table border="0" cellpadding="0" cellspacing="0" id="tTitle">
    <tr>
	<td class="left">
	    <img src="<%= base.ResourcesPath %>Images/title_left.gif" alt="" />
	</td>
	<td class="middle">

    <div class="pagetitle">
        <div><asp:Label ID="lblTitle" runat="server" Text="整机配置列表" ></asp:Label></div>
    </div>
	
	</td>
	<td class="right">
	    <img src="<%= base.ResourcesPath %>Images/title_right.gif" alt="" />
	</td>
    </tr>
</table>
    <div id="divMain" >
    <div style="width: 100%">
        <div class="listdiv">
            <table border="0" cellpadding="0" cellspacing="0" class="search"  align="center">
		        <tr>    		    
                    <td class="title">
                        <div class="nowrap">
                            创建时间:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtCREATETIMEBegin" runat="server" MaxLength="20" CssClass="datetime"></asp:TextBox>-<asp:TextBox
                            ID="txtCREATETIMEEnd" runat="server" MaxLength="20" CssClass="datetime"></asp:TextBox>
                    </td>
                    <td class="title">
                        <div class="nowrap">
                            创建人:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtCREATEPEOPLE" runat="server" CssClass="txt" MaxLength="32" Rows="3"
                            TextMode="SingleLine"></asp:TextBox>
                    </td>
                    <td class="title">
                        <div class="nowrap">
                            整机编号:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtVINCODE" runat="server" CssClass="txt" MaxLength="32" Rows="3"
                            TextMode="SingleLine"></asp:TextBox>
                    </td>
                    <td class="title">
                        &nbsp;
                    </td>
                    <td class="content">
                        <div style="width: 100px;" class="nowrap">
                            <asp:Button ID="btnSearch" runat="server" Text="查 询" CommandName="Search" CssClass="btn title_cx"
                                OnClick="btnSearch_Click" /></div>
                    </td>
                </tr>
            </table>
            <dp:WebGridView ID="gvList" runat="server" CssClass="gridview" 
                AutoGenerateColumns="False" OnRowCreated="gvList_RowCreated" 
                OnRowDataBound="gvList_RowDataBound" OnRowDeleting="gvList_RowDeleting" AllowPaging="True" 
                AllowSorting="True"  SortExpressionValue="AUTOID"  
                SortDirectionValue="DESC" >
                <Columns>
			        <asp:TemplateField HeaderText="车辆编号" SortExpression="AUTOID">
                        <ItemTemplate>
                        <asp:HyperLink id="hlModifyAUTOID" runat="server" NavigateUrl='<%# Eval("AUTOID", ModifyUrl) %>' Text='<%# Bind("AUTOID") %>'>详细</asp:HyperLink>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="整机编号" SortExpression="VINCODE">
                        <ItemTemplate>
                        <asp:HyperLink id="hlModifyVINCODE" runat="server" NavigateUrl='<%# Eval("AUTOID", ModifyUrl) %>' Text='<%# Bind("VINCODE") %>'>详细</asp:HyperLink>
                        </ItemTemplate>
                    </asp:TemplateField>
			        <asp:BoundField DataField="CHASSISASSEMBLYMANUFACTURERS" HeaderText="底盘总成配套厂家"  SortExpression="CHASSISASSEMBLYMANUFACTURERS" Visible="false" />
			        <asp:BoundField DataField="MASTASSEMBLYMANUFACTURERS" HeaderText="桅杆总成配套厂家"  SortExpression="MASTASSEMBLYMANUFACTURERS" Visible="false" />
			        <asp:BoundField DataField="MASTASSEMBLYNUMBER" HeaderText="桅杆总成编号"  SortExpression="MASTASSEMBLYNUMBER" Visible="false" />
			        <asp:BoundField DataField="MASTTURNTABLEMANUFACTURERS" HeaderText="桅杆转盘配套厂家"  SortExpression="MASTTURNTABLEMANUFACTURERS" Visible="false" />
			        <asp:BoundField DataField="MASTTURNTABLENUMBER" HeaderText="桅杆转盘编号"  SortExpression="MASTTURNTABLENUMBER" Visible="false" />
			        <asp:BoundField DataField="BOOMMANUFACTURERS" HeaderText="动臂配套厂家"  SortExpression="BOOMMANUFACTURERS" Visible="false" />
			        <asp:BoundField DataField="BOOMNUMBER" HeaderText="动臂编号"  SortExpression="BOOMNUMBER" Visible="false" />
			        <asp:BoundField DataField="CONNECTIONMANUFACTURERS" HeaderText="联接体配套厂家"  SortExpression="CONNECTIONMANUFACTURERS" Visible="false" />
			        <asp:BoundField DataField="CONNECTIONNUMBER" HeaderText="联接体编号"  SortExpression="CONNECTIONNUMBER" Visible="false" />
			        <asp:BoundField DataField="POWERHEADMANUFACTURERS" HeaderText="动力头配套厂家"  SortExpression="POWERHEADMANUFACTURERS" Visible="false" />
			        <asp:BoundField DataField="POWERHEADNUMBER" HeaderText="动力头编号"  SortExpression="POWERHEADNUMBER" Visible="false" />
			        <asp:BoundField DataField="MOTORMANUFACTURERS" HeaderText="动力头马达配套厂家"  SortExpression="MOTORMANUFACTURERS" Visible="false" />
			        <asp:BoundField DataField="MOTORMODEL" HeaderText="动力头马达型号"  SortExpression="MOTORMODEL" Visible="false" />
			        <asp:BoundField DataField="LEFTMOTORNUMBER" HeaderText="动力头左马达编号"  SortExpression="LEFTMOTORNUMBER" Visible="false" />
			        <asp:BoundField DataField="RIGHTMOTORNUMBER" HeaderText="动力头右马达编号"  SortExpression="RIGHTMOTORNUMBER"  Visible="false" />
			        <asp:BoundField DataField="REDUCERMANUFACTURERS" HeaderText="动力头减速机配套厂家"  SortExpression="REDUCERMANUFACTURERS"  Visible="false" />
			        <asp:BoundField DataField="REDUCERMODEL" HeaderText="动力头减速机型号"  SortExpression="REDUCERMODEL"  Visible="false" />
			        <asp:BoundField DataField="LEFTREDUCERNUMBER" HeaderText="动力头左减速机编号"  SortExpression="LEFTREDUCERNUMBER"  Visible="false" />
			        <asp:BoundField DataField="RIGHTREDUCERNUMBER" HeaderText="动力头右减速机编号"  SortExpression="RIGHTREDUCERNUMBER"  Visible="false" />
			        <asp:BoundField DataField="MAINHOISTMANUFACTURERS" HeaderText="主卷扬马达配套厂家"  SortExpression="MAINHOISTMANUFACTURERS"  Visible="false" />
			        <asp:BoundField DataField="MAINHOISTMODEL" HeaderText="主卷扬马达型号"  SortExpression="MAINHOISTMODEL"  Visible="false" />
			        <asp:BoundField DataField="MAINHOISTNUMBER" HeaderText="主卷扬马达编号"  SortExpression="MAINHOISTNUMBER"  Visible="false" />
			        <asp:BoundField DataField="AUXILIARYHOISTMANUFACTURERS" HeaderText="副卷扬马达配套厂家"  SortExpression="AUXILIARYHOISTMANUFACTURERS"  Visible="false" />
			        <asp:BoundField DataField="AUXILIARYHOISTMODEL" HeaderText="副卷扬马达型号"  SortExpression="AUXILIARYHOISTMODEL" Visible="false" />
			        <asp:BoundField DataField="AUXILIARYHOISTNUMBER" HeaderText="副卷扬马达编号"  SortExpression="AUXILIARYHOISTNUMBER"  Visible="false" />
			        <asp:BoundField DataField="MAINREDUCERMANUFACTURERS" HeaderText="主卷扬减速机配套厂家"  SortExpression="MAINREDUCERMANUFACTURERS"  Visible="false" />
			        <asp:BoundField DataField="MAINREDUCERMODEL" HeaderText="主卷扬减速机型号"  SortExpression="MAINREDUCERMODEL"  Visible="false" />
			        <asp:BoundField DataField="MAINREDUCERNUMBER" HeaderText="主卷扬减速机编号"  SortExpression="MAINREDUCERNUMBER" Visible="false" />
			        <asp:BoundField DataField="AUXILIARYREDUCERMANUFACTURERS" HeaderText="副卷扬减速机配套厂家"  SortExpression="AUXILIARYREDUCERMANUFACTURERS" Visible="false" />
			        <asp:BoundField DataField="AUXILIARYREDUCERMODEL" HeaderText="副卷扬减速机型号"  SortExpression="AUXILIARYREDUCERMODEL"  Visible="false" />
			        <asp:BoundField DataField="AUXILIARYREDUCERNUMBER" HeaderText="副卷扬减速机编号"  SortExpression="AUXILIARYREDUCERNUMBER"  Visible="false" />
			        <asp:BoundField DataField="PRESSURECYLINDERMANUFACTURERS" HeaderText="加压油缸配套厂家"  SortExpression="PRESSURECYLINDERMANUFACTURERS"  Visible="false" />
			        <asp:BoundField DataField="PRESSURECYLINDERMODEL" HeaderText="加压油缸型号"  SortExpression="PRESSURECYLINDERMODEL"  Visible="false" />
			        <asp:BoundField DataField="PRESSURECYLINDERNUMBER" HeaderText="加压油缸编号"  SortExpression="PRESSURECYLINDERNUMBER"  Visible="false" />
			        <asp:BoundField DataField="MASTCYLINDERMANUFACTURERS" HeaderText="桅杆油缸配套厂家"  SortExpression="MASTCYLINDERMANUFACTURERS"  Visible="false" />
			        <asp:BoundField DataField="MASTCYLINDERMODEL" HeaderText="桅杆油缸型号"  SortExpression="MASTCYLINDERMODEL"  Visible="false" />
			        <asp:BoundField DataField="LEFTMASTCYLINDERNUMBER" HeaderText="左桅杆油缸编号"  SortExpression="LEFTMASTCYLINDERNUMBER"  Visible="false" />
			        <asp:BoundField DataField="RIGHTMASTCYLINDERNUMBER" HeaderText="右桅杆油缸编号"  SortExpression="RIGHTMASTCYLINDERNUMBER"  Visible="false" />
			        <asp:BoundField DataField="CHANGECYLINDERMANUFACTURERS" HeaderText="变幅油缸配套厂家"  SortExpression="CHANGECYLINDERMANUFACTURERS"  Visible="false" />
			        <asp:BoundField DataField="CHANGECYLINDERMODEL" HeaderText="变幅油缸型号"  SortExpression="CHANGECYLINDERMODEL" Visible="false" />
			        <asp:BoundField DataField="LEFTCHANGECYLINDERNUMBER" HeaderText="左变幅油缸编号"  SortExpression="LEFTCHANGECYLINDERNUMBER"  Visible="false" />
			        <asp:BoundField DataField="RIGHTCHANGECYLINDERNUMBER" HeaderText="右变幅油缸编号"  SortExpression="RIGHTCHANGECYLINDERNUMBER"  Visible="false" />
			        <asp:BoundField DataField="M4VALUEMANUFACTURERS" HeaderText="M4阀配套厂家"  SortExpression="M4VALUEMANUFACTURERS" Visible="false" />
			        <asp:BoundField DataField="M4VALUENUMBER" HeaderText="M4阀编号"  SortExpression="M4VALUENUMBER"  Visible="false" />
			        <asp:BoundField DataField="FOLLOWFRAMEMANUFACTURERS" HeaderText="随动架配套厂家"  SortExpression="FOLLOWFRAMEMANUFACTURERS"  Visible="false" />
			        <asp:BoundField DataField="FOLLOWFRAMENUMBER" HeaderText="随动架编号"  SortExpression="FOLLOWFRAMENUMBER"  Visible="false" />
			        <asp:BoundField DataField="SLEWINGRINGMANUFACTURERS" HeaderText="回转支承配套厂家"  SortExpression="SLEWINGRINGMANUFACTURERS"  Visible="false" />
			        <asp:BoundField DataField="SLEWINGRINGNUMBER" HeaderText="回转支承编号"  SortExpression="SLEWINGRINGNUMBER"  Visible="false" />
			        <asp:BoundField DataField="DRILLMANUFACTURERS" HeaderText="钻杆配套厂家"  SortExpression="DRILLMANUFACTURERS"  Visible="false" />
			        <asp:BoundField DataField="DRILLMODEL" HeaderText="钻杆型号"  SortExpression="DRILLMODEL"  Visible="false" />
			        <asp:BoundField DataField="DRILLNUMBER" HeaderText="钻杆编号"  SortExpression="DRILLNUMBER"  Visible="false" />
			        <asp:BoundField DataField="INTRODUCTIONMANUFACTURERS" HeaderText="提引器配套厂家"  SortExpression="INTRODUCTIONMANUFACTURERS"  Visible="false" />
			        <asp:BoundField DataField="INTRODUCTIONNUMBER" HeaderText="提引器编号"  SortExpression="INTRODUCTIONNUMBER"  Visible="false" />
			        <asp:BoundField DataField="CONTROLLERMANUFACTURERS" HeaderText="控制器配套厂家"  SortExpression="CONTROLLERMANUFACTURERS"  Visible="false" />
			        <asp:BoundField DataField="CONTROLLERMODEL" HeaderText="控制器型号"  SortExpression="CONTROLLERMODEL"  Visible="false" />
			        <asp:BoundField DataField="ZEROCONTROLLERNUMBER" HeaderText="0号控制器编号"  SortExpression="ZEROCONTROLLERNUMBER"  Visible="false" />
			        <asp:BoundField DataField="ONECONTROLLERNUMBER" HeaderText="1号控制器编号"  SortExpression="ONECONTROLLERNUMBER"  Visible="false" />
			        <asp:BoundField DataField="MONITORMANUFACTURERS" HeaderText="显示器配套厂家"  SortExpression="MONITORMANUFACTURERS"  Visible="false" />
			        <asp:BoundField DataField="MONITORMODEL" HeaderText="显示器型号"  SortExpression="MONITORMODEL"  Visible="false" />
			        <asp:BoundField DataField="MONITORNUMBER" HeaderText="显示器编号"  SortExpression="MONITORNUMBER"  Visible="false" />
			        <asp:BoundField DataField="LEVELINGSENSORMANUFACTURERS" HeaderText="调平传感器配套厂家"  SortExpression="LEVELINGSENSORMANUFACTURERS"  Visible="false" />
			        <asp:BoundField DataField="LEVELINGSENSORMODEL" HeaderText="调平传感器型号"  SortExpression="LEVELINGSENSORMODEL"  Visible="false" />
			        <asp:BoundField DataField="LEVELINGSENSORNUMBER" HeaderText="调平传感器编号"  SortExpression="LEVELINGSENSORNUMBER"  Visible="false" />
			        <asp:BoundField DataField="ANGULARSENSORMANUFACTURERS" HeaderText="角位移传感器配套厂家"  SortExpression="ANGULARSENSORMANUFACTURERS"  Visible="false" />
			        <asp:BoundField DataField="ANGULARSENSORMODEL" HeaderText="角位移传感器型号"  SortExpression="ANGULARSENSORMODEL"  Visible="false" />
			        <asp:BoundField DataField="ANGULARSENSORNUMBER" HeaderText="角位移传感器编号"  SortExpression="ANGULARSENSORNUMBER"  Visible="false" />
			        <asp:BoundField DataField="CHASSISREGISTERDATE" HeaderText="底盘注册日期"  SortExpression="CHASSISREGISTERDATE"  DataFormatString="{0:yyyy-MM-dd}"/>
			        <asp:BoundField DataField="REMARK" HeaderText="备注"  SortExpression="REMARK" Visible="false" />
			        <asp:BoundField DataField="DEPARTMENTID" HeaderText="部门编号"  SortExpression="DEPARTMENTID" Visible="false" />
			        <asp:BoundField DataField="DEPARTMENTNAME" HeaderText="部门名称"  SortExpression="DEPARTMENTNAME" />
			        <asp:BoundField DataField="DEPARTMENTCODE" HeaderText="部门代码"  SortExpression="DEPARTMENTCODE" Visible="false" />
			        <asp:BoundField DataField="CREATETIME" HeaderText="创建时间"  SortExpression="CREATETIME" DataFormatString="{0:yyyy-MM-dd}" />
			        <asp:BoundField DataField="CREATEPEOPLEID" HeaderText="创建人编号"  SortExpression="CREATEPEOPLEID" Visible="false" />
			        <asp:BoundField DataField="CREATEPEOPLE" HeaderText="创建人"  SortExpression="CREATEPEOPLE" />
			        <asp:BoundField DataField="LASTMODIFYPEOPLEID" HeaderText="最后修改人编号"  SortExpression="LASTMODIFYPEOPLEID" Visible="false" />
			        <asp:BoundField DataField="LASTMODIFYPEOPLE" HeaderText="最后修改人"  SortExpression="LASTMODIFYPEOPLE" Visible="false" />
			        <asp:BoundField DataField="LASTMODIFYTIME" HeaderText="最后修改时间"  SortExpression="LASTMODIFYTIME" Visible="false" />
			        <asp:BoundField DataField="BUSINESSDIVISIONID" HeaderText="事业部编号"  SortExpression="BUSINESSDIVISIONID" Visible="false" />
			        <asp:BoundField DataField="BUSINESSDIVISIONNAME" HeaderText="事业部名称"  SortExpression="BUSINESSDIVISIONNAME" Visible="false" />
			        <asp:BoundField DataField="BUSINESSDIVISIONCODE" HeaderText="事业部代码"  SortExpression="BUSINESSDIVISIONCODE" Visible="false" />
			        <asp:TemplateField HeaderText="操作" ShowHeader="False">
                    <itemtemplate>
                        <div style="white-space: nowrap;">
                        <asp:HyperLink id="hlModify" runat="server" NavigateUrl='<%# Eval("AUTOID", ModifyUrl) %>'>详细</asp:HyperLink>
                        <asp:LinkButton id="lbtnDelete" runat="server" Text="删除" CommandName="Delete" CausesValidation="False" OnClientClick="return confirm('您确认要删除此条记录吗？');"></asp:LinkButton>            
                        </div>
				    </itemtemplate>
                </asp:TemplateField>
                </Columns>	
                <RowStyle CssClass="row" />
                <AlternatingRowStyle CssClass="row2" />
                <HeaderStyle CssClass="header" />	
                <PagerStyle CssClass="pager" />	
            </dp:WebGridView>
        </div>
    </div>
</div>
    </form>
</body>
</html>
